package cn.tedu.smartos.admin.service;

import cn.tedu.smartos.admin.pojo.dto.PointsGoodsAddParam;
import cn.tedu.smartos.admin.pojo.dto.PointsGoodsUpdateParam;
import cn.tedu.smartos.admin.pojo.vo.PointsGoodsVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface PointsGoodsService {
    void add(PointsGoodsAddParam addParam);

    void update(PointsGoodsUpdateParam updateParam);

    void delete(List<Long> goodsIds);

    PageInfo<PointsGoodsVO> list(Integer pageNum, Integer pageSize);

    PointsGoodsVO detail(Long goodsId);

    void toggleStatus(Long goodsId);
}